package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.Programme;
import org.hxyjs.entity.ProgrammeExample;

public interface ProgrammeMapper {
    long countByExample(ProgrammeExample example);

    int deleteByExample(ProgrammeExample example);

    int deleteByPrimaryKey(String prno);

    int insert(Programme record);

    int insertSelective(Programme record);

    List<Programme> selectByExample(ProgrammeExample example);

    Programme selectByPrimaryKey(String prno);

    String getMaxPrno();

    List<Programme> getProgrammesByPage(Map<String, Object> map);

    int updateByExampleSelective(@Param("record") Programme record, @Param("example") ProgrammeExample example);

    int updateByExample(@Param("record") Programme record, @Param("example") ProgrammeExample example);

    int updateByPrimaryKeySelective(Programme record);

    int updateByPrimaryKey(Programme record);
}